#include <stdlib.h>
#include <stdio.h>

#include "NativeMath.h"
#define BUFFER_SIZE 1024

int main(char** argv, size_t argc) 
{
	UINT value;
	char buffer[BUFFER_SIZE] = "";

	ninteger* i1 = newint(64, FALSE);
	ninteger* i2 = newint(8, FALSE);
	ninteger* result = newint(64, FALSE);

	assignstr("0xFFFFFFFFFFFFFF00", i1);
	assignstr("0xF0", i2);
	//assignint(0x1, i2);
	//todecstr(i1, buffer, BUFFER_SIZE);
	
	ior(i2, i1, result);

	// assignint(0xFFFFFFFF, i1);
	// assignint(0x2, i2);

	tohexstr(result, buffer, BUFFER_SIZE);
}
